package components;

import info.clearthought.layout.TableLayout;

import java.awt.LayoutManager;

import javax.swing.ImageIcon;
import javax.swing.JLabel;

/**
 * RPS Logo
 */
public class LogoPanel extends RPSPanel
{
	private static final long serialVersionUID = 1L;

	public LogoPanel()
	{
		this(new TableLayout(new double[][] { {TableLayout.FILL}, {TableLayout.FILL} }));
	}
	
	private LogoPanel(LayoutManager layout)
	{
		super(layout);	
		
	    JLabel titlePic = new JLabel(new ImageIcon("res/RPS-Logo.png"));
	    add(titlePic, "0, 0");
	}

}
